|
2000W / 48V LLC Battery-Charger
V1.00
|
#include <xmc_usic.h>
Public Attributes | |
| __I uint32_t | RESERVED0 |
| __I uint32_t | CCFG |
| __I uint32_t | RESERVED1 |
| __IO uint32_t | KSCFG |
| __IO uint32_t | FDR |
| __IO uint32_t | BRG |
| __IO uint32_t | INPR |
| __IO uint32_t | DXCR [6] |
| __IO uint32_t | SCTR |
| __IO uint32_t | TCSR |
| union { | |
| __IO uint32_t PCR_IICMode | |
| __IO uint32_t PCR_IISMode | |
| __IO uint32_t PCR_SSCMode | |
| __IO uint32_t PCR | |
| __IO uint32_t PCR_ASCMode | |
| }; | |
| __IO uint32_t | CCR |
| __IO uint32_t | CMTR |
| union { | |
| __IO uint32_t PSR_IICMode | |
| __IO uint32_t PSR_IISMode | |
| __IO uint32_t PSR_SSCMode | |
| __IO uint32_t PSR | |
| __IO uint32_t PSR_ASCMode | |
| }; | |
| __O uint32_t | PSCR |
| __I uint32_t | RBUFSR |
| __I uint32_t | RBUF |
| __I uint32_t | RBUFD |
| __I uint32_t | RBUF0 |
| __I uint32_t | RBUF1 |
| __I uint32_t | RBUF01SR |
| __O uint32_t | FMR |
| __I uint32_t | RESERVED2 [5] |
| __IO uint32_t | TBUF [32] |
| __IO uint32_t | BYP |
| __IO uint32_t | BYPCR |
| __IO uint32_t | TBCTR |
| __IO uint32_t | RBCTR |
| __I uint32_t | TRBPTR |
| __IO uint32_t | TRBSR |
| __O uint32_t | TRBSCR |
| __I uint32_t | OUTR |
| __I uint32_t | OUTDR |
| __I uint32_t | RESERVED3 [23] |
| __O uint32_t | IN [32] |
USIC channel structure.
The members of the structure are same as in the device header file, except for some registers. DX0CR, DX1CR, DX2CR, DX3CR, DX4CR and DX5CR are replaced with the array DXCR[6]. TBUF0 to TBUF31 are replaced with TBUF[32]. IN0 to IN31 are replaced with IN[32].
Definition at line 484 of file xmc_usic.h.
| union { ... } |
| union { ... } |
| __IO uint32_t XMC_USIC_CH::BRG |
Baud rate generator register
Definition at line 491 of file xmc_usic.h.
Referenced by XMC_I2S_CH_SetBaudrate(), XMC_I2S_CH_SetSystemWordLength(), XMC_SPI_CH_SetInterwordDelay(), XMC_SPI_CH_SetSlaveSelectDelay(), XMC_USIC_CH_ConfigExternalInputSignalToBRG(), XMC_USIC_CH_ConfigureShiftClockOutput(), XMC_USIC_CH_DisableTimeMeasurement(), XMC_USIC_CH_EnableTimeMeasurement(), XMC_USIC_CH_SetBaudrate(), XMC_USIC_CH_SetBRGInputClockSource(), and XMC_USIC_CH_SetMclkOutputPassiveLevel().
| __IO uint32_t XMC_USIC_CH::BYP |
FIFO bypass register
Definition at line 524 of file xmc_usic.h.
| __IO uint32_t XMC_USIC_CH::BYPCR |
FIFO bypass control register
Definition at line 525 of file xmc_usic.h.
| __I uint32_t XMC_USIC_CH::CCFG |
Channel configuration register
Definition at line 487 of file xmc_usic.h.
| __IO uint32_t XMC_USIC_CH::CCR |
Channel control register
Definition at line 504 of file xmc_usic.h.
Referenced by XMC_I2S_CH_DisableEvent(), XMC_I2S_CH_EnableEvent(), XMC_SPI_CH_DisableEvent(), XMC_SPI_CH_EnableEvent(), XMC_SPI_CH_Init(), XMC_SPI_CH_SetTransmitMode(), XMC_SPI_CH_Transmit(), XMC_UART_CH_DisableEvent(), XMC_UART_CH_EnableEvent(), XMC_UART_CH_Init(), XMC_UART_CH_Start(), XMC_USIC_CH_DisableEvent(), XMC_USIC_CH_Enable(), XMC_USIC_CH_EnableEvent(), and XMC_USIC_CH_SetMode().
| __IO uint32_t XMC_USIC_CH::CMTR |
Capture mode timer register
Definition at line 505 of file xmc_usic.h.
Referenced by XMC_USIC_CH_GetCaptureTimerValue().
| __IO uint32_t XMC_USIC_CH::DXCR[6] |
Input control registers DX0 to DX5.
Definition at line 493 of file xmc_usic.h.
Referenced by XMC_I2C_CH_SetInputSource(), XMC_I2S_CH_SetInputSource(), XMC_SPI_CH_SetInputSource(), XMC_UART_CH_SetInputSource(), XMC_USIC_CH_ConnectInputDataShiftToDataInput(), XMC_USIC_CH_ConnectInputDataShiftToPPP(), XMC_USIC_CH_DisableDelayCompensation(), XMC_USIC_CH_DisableInputDigitalFilter(), XMC_USIC_CH_DisableInputInversion(), XMC_USIC_CH_DisableInputSync(), XMC_USIC_CH_EnableDelayCompensation(), XMC_USIC_CH_EnableInputDigitalFilter(), XMC_USIC_CH_EnableInputInversion(), XMC_USIC_CH_EnableInputSync(), XMC_USIC_CH_SetInputSamplingFreq(), XMC_USIC_CH_SetInputSource(), and XMC_USIC_CH_SetInputTriggerCombinationMode().
| __IO uint32_t XMC_USIC_CH::FDR |
Fractional divider configuration register
Definition at line 490 of file xmc_usic.h.
Referenced by XMC_SPI_CH_SetInterwordDelay(), XMC_USIC_CH_SetBaudrate(), and XMC_USIC_CH_SetFractionalDivider().
| __O uint32_t XMC_USIC_CH::FMR |
Flag modification register
Definition at line 521 of file xmc_usic.h.
Referenced by XMC_USIC_CH_SetTransmitBufferStatus(), and XMC_USIC_CH_TriggerServiceRequest().
| __O uint32_t XMC_USIC_CH::IN[32] |
Transmit FIFO input register
Definition at line 534 of file xmc_usic.h.
Referenced by XMC_I2S_CH_Transmit(), XMC_SPI_CH_Transmit(), XMC_UART_CH_Transmit(), XMC_USIC_CH_TXFIFO_PutData(), XMC_USIC_CH_TXFIFO_PutDataFLEMode(), and XMC_USIC_CH_TXFIFO_PutDataHPCMode().
| __IO uint32_t XMC_USIC_CH::INPR |
Interrupt node pointer register
Definition at line 492 of file xmc_usic.h.
Referenced by XMC_USIC_CH_SetInterruptNodePointer().
| __IO uint32_t XMC_USIC_CH::KSCFG |
Kernel state configuration register
Definition at line 489 of file xmc_usic.h.
Referenced by XMC_USIC_CH_Disable(), and XMC_USIC_CH_Enable().
| __I uint32_t XMC_USIC_CH::OUTDR |
Receive FIFO debug output register
Definition at line 532 of file xmc_usic.h.
| __I uint32_t XMC_USIC_CH::OUTR |
Receive FIFO output register
Definition at line 531 of file xmc_usic.h.
Referenced by XMC_I2S_CH_GetReceivedData(), XMC_SPI_CH_GetReceivedData(), XMC_UART_CH_GetReceivedData(), and XMC_USIC_CH_RXFIFO_GetData().
| __IO uint32_t XMC_USIC_CH::PCR |
Protocol configuration register
Definition at line 501 of file xmc_usic.h.
| __IO uint32_t XMC_USIC_CH::PCR_ASCMode |
UART protocol configuration register
Definition at line 502 of file xmc_usic.h.
Referenced by XMC_UART_CH_DisableEvent(), XMC_UART_CH_DisableMasterClock(), XMC_UART_CH_EnableEvent(), XMC_UART_CH_EnableMasterClock(), XMC_UART_CH_Init(), XMC_UART_CH_SetPulseLength(), and XMC_UART_CH_SetSamplePoint().
| __IO uint32_t XMC_USIC_CH::PCR_IICMode |
I2C protocol configuration register
Definition at line 498 of file xmc_usic.h.
Referenced by XMC_I2C_CH_DisableAcknowledgeAddress0(), XMC_I2C_CH_DisableMasterClock(), XMC_I2C_CH_EnableAcknowledgeAddress0(), XMC_I2C_CH_EnableMasterClock(), XMC_I2C_CH_SetBaudrate(), and XMC_I2C_CH_SetSlaveAddress().
| __IO uint32_t XMC_USIC_CH::PCR_IISMode |
I2S protocol configuration register
Definition at line 499 of file xmc_usic.h.
Referenced by XMC_I2S_CH_DisableEvent(), XMC_I2S_CH_DisableMasterClock(), XMC_I2S_CH_EnableEvent(), XMC_I2S_CH_EnableMasterClock(), XMC_I2S_CH_Init(), and XMC_I2S_CH_WordAddressSignalPolarity().
| __IO uint32_t XMC_USIC_CH::PCR_SSCMode |
SPI protocol configuration register
Definition at line 500 of file xmc_usic.h.
Referenced by XMC_SPI_CH_DisableEvent(), XMC_SPI_CH_DisableFEM(), XMC_SPI_CH_DisableInterwordDelay(), XMC_SPI_CH_DisableMasterClock(), XMC_SPI_CH_DisableSlaveSelect(), XMC_SPI_CH_DisableSlaveSelectCodedMode(), XMC_SPI_CH_EnableEvent(), XMC_SPI_CH_EnableFEM(), XMC_SPI_CH_EnableInterwordDelay(), XMC_SPI_CH_EnableMasterClock(), XMC_SPI_CH_EnableSlaveSelect(), XMC_SPI_CH_EnableSlaveSelectCodedMode(), XMC_SPI_CH_Init(), XMC_SPI_CH_SetInterwordDelay(), XMC_SPI_CH_SetInterwordDelaySCLK(), and XMC_SPI_CH_SetSlaveSelectPolarity().
| __O uint32_t XMC_USIC_CH::PSCR |
Protocol status clear register
Definition at line 514 of file xmc_usic.h.
Referenced by XMC_I2C_CH_ClearStatusFlag(), XMC_I2S_CH_ClearStatusFlag(), XMC_I2S_CH_Init(), XMC_SPI_CH_ClearStatusFlag(), XMC_SPI_CH_Init(), XMC_UART_CH_ClearStatusFlag(), and XMC_UART_CH_Init().
| __IO uint32_t XMC_USIC_CH::PSR |
Protocol status register
Definition at line 511 of file xmc_usic.h.
| __IO uint32_t XMC_USIC_CH::PSR_ASCMode |
UART protocol status register
Definition at line 512 of file xmc_usic.h.
Referenced by XMC_UART_CH_GetStatusFlag().
| __IO uint32_t XMC_USIC_CH::PSR_IICMode |
I2C protocol status register
Definition at line 508 of file xmc_usic.h.
Referenced by XMC_I2C_CH_GetStatusFlag().
| __IO uint32_t XMC_USIC_CH::PSR_IISMode |
I2S protocol status register
Definition at line 509 of file xmc_usic.h.
Referenced by XMC_I2S_CH_GetStatusFlag().
| __IO uint32_t XMC_USIC_CH::PSR_SSCMode |
SPI protocol status register
Definition at line 510 of file xmc_usic.h.
Referenced by XMC_SPI_CH_GetStatusFlag().
| __IO uint32_t XMC_USIC_CH::RBCTR |
Receive FIFO control register
Definition at line 527 of file xmc_usic.h.
Referenced by XMC_I2S_CH_GetReceivedData(), XMC_SPI_CH_GetReceivedData(), XMC_UART_CH_GetReceivedData(), XMC_USIC_CH_RXFIFO_Configure(), XMC_USIC_CH_RXFIFO_DisableEvent(), XMC_USIC_CH_RXFIFO_EnableEvent(), XMC_USIC_CH_RXFIFO_SetInterruptNodePointer(), and XMC_USIC_CH_RXFIFO_SetSizeTriggerLimit().
| __I uint32_t XMC_USIC_CH::RBUF |
Receive buffer register
Definition at line 516 of file xmc_usic.h.
Referenced by XMC_I2C_CH_GetReceivedData(), XMC_I2C_CH_GetReceiverStatusFlag(), XMC_I2S_CH_GetReceivedData(), XMC_SPI_CH_GetReceivedData(), and XMC_UART_CH_GetReceivedData().
| __I uint32_t XMC_USIC_CH::RBUF0 |
Receive buffer 0
Definition at line 518 of file xmc_usic.h.
| __I uint32_t XMC_USIC_CH::RBUF01SR |
Receive buffer status register
Definition at line 520 of file xmc_usic.h.
| __I uint32_t XMC_USIC_CH::RBUF1 |
Receive buffer 1
Definition at line 519 of file xmc_usic.h.
| __I uint32_t XMC_USIC_CH::RBUFD |
Debug mode receive buffer register
Definition at line 517 of file xmc_usic.h.
| __I uint32_t XMC_USIC_CH::RBUFSR |
Receive buffer status register
Definition at line 515 of file xmc_usic.h.
Referenced by XMC_USIC_CH_GetReceiveBufferStatus().
| __I uint32_t XMC_USIC_CH::RESERVED0 |
Definition at line 486 of file xmc_usic.h.
| __I uint32_t XMC_USIC_CH::RESERVED1 |
Definition at line 488 of file xmc_usic.h.
| __I uint32_t XMC_USIC_CH::RESERVED2[5] |
Definition at line 522 of file xmc_usic.h.
| __I uint32_t XMC_USIC_CH::RESERVED3[23] |
Definition at line 533 of file xmc_usic.h.
| __IO uint32_t XMC_USIC_CH::SCTR |
Shift control register
Definition at line 494 of file xmc_usic.h.
Referenced by XMC_I2S_CH_Init(), XMC_I2S_CH_SetBitOrderLsbFirst(), XMC_I2S_CH_SetBitOrderMsbFirst(), XMC_SPI_CH_Init(), XMC_SPI_CH_SetBitOrderLsbFirst(), XMC_SPI_CH_SetBitOrderMsbFirst(), XMC_UART_CH_Init(), XMC_USIC_CH_SetDataOutputMode(), XMC_USIC_CH_SetFrameLength(), XMC_USIC_CH_SetPassiveDataLevel(), XMC_USIC_CH_SetShiftDirection(), and XMC_USIC_CH_SetWordLength().
| __IO uint32_t XMC_USIC_CH::TBCTR |
Transmit FIFO control register
Definition at line 526 of file xmc_usic.h.
Referenced by XMC_I2S_CH_Transmit(), XMC_SPI_CH_Transmit(), XMC_UART_CH_Transmit(), XMC_USIC_CH_TXFIFO_Configure(), XMC_USIC_CH_TXFIFO_DisableEvent(), XMC_USIC_CH_TXFIFO_EnableEvent(), XMC_USIC_CH_TXFIFO_SetInterruptNodePointer(), and XMC_USIC_CH_TXFIFO_SetSizeTriggerLimit().
| __IO uint32_t XMC_USIC_CH::TBUF[32] |
Tranmsit buffer registers
Definition at line 523 of file xmc_usic.h.
Referenced by XMC_I2C_CH_MasterReceiveAck(), XMC_I2C_CH_MasterReceiveNack(), XMC_I2C_CH_MasterStop(), XMC_I2C_CH_MasterTransmit(), XMC_I2C_CH_SlaveTransmit(), XMC_I2S_CH_Transmit(), XMC_SPI_CH_Transmit(), XMC_UART_CH_Transmit(), XMC_USIC_CH_WriteToTBUF(), and XMC_USIC_CH_WriteToTBUFTCI().
| __IO uint32_t XMC_USIC_CH::TCSR |
Definition at line 495 of file xmc_usic.h.
Referenced by XMC_I2S_CH_Init(), XMC_SPI_CH_DisableEOF(), XMC_SPI_CH_DisableSOF(), XMC_SPI_CH_EnableEOF(), XMC_SPI_CH_EnableSOF(), XMC_SPI_CH_Init(), XMC_UART_CH_Init(), XMC_USIC_CH_DisableFrameLengthControl(), XMC_USIC_CH_DisableTBUFDataValidTrigger(), XMC_USIC_CH_EnableFrameLengthControl(), XMC_USIC_CH_EnableTBUFDataValidTrigger(), XMC_USIC_CH_GetTransmitBufferStatus(), and XMC_USIC_CH_SetStartTransmisionMode().
| __I uint32_t XMC_USIC_CH::TRBPTR |
Transmit/recive buffer pointer register
Definition at line 528 of file xmc_usic.h.
| __O uint32_t XMC_USIC_CH::TRBSCR |
Transmit/receive buffer status clear register
Definition at line 530 of file xmc_usic.h.
Referenced by XMC_USIC_CH_RXFIFO_ClearEvent(), XMC_USIC_CH_RXFIFO_Flush(), XMC_USIC_CH_TXFIFO_ClearEvent(), and XMC_USIC_CH_TXFIFO_Flush().
| __IO uint32_t XMC_USIC_CH::TRBSR |
Transmit/receive buffer status register
Definition at line 529 of file xmc_usic.h.
Referenced by XMC_USIC_CH_RXFIFO_GetEvent(), XMC_USIC_CH_RXFIFO_GetLevel(), XMC_USIC_CH_RXFIFO_IsEmpty(), XMC_USIC_CH_RXFIFO_IsFull(), XMC_USIC_CH_TXFIFO_GetEvent(), XMC_USIC_CH_TXFIFO_GetLevel(), XMC_USIC_CH_TXFIFO_IsEmpty(), and XMC_USIC_CH_TXFIFO_IsFull().